<!-- Copyright (C) Microsoft Corporation. All rights reserved. -->
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <link href="css/ouibounce.min.css" rel="stylesheet" type="text/css" />
    <link href="css/layout.css" rel="stylesheet" type="text/css" />
    <link href="css/menu.css" rel="stylesheet" type="text/css" />
    <link href="css/bottombanner.css" rel="stylesheet" type="text/css" />
    <link href="css/idecss.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" type="text/css" href="codebase/fonts/font_roboto/roboto.css" />
    <link rel="stylesheet" type="text/css" href="codebase/dhtmlx.css" />
    <link href="css/layaPage.css" rel="stylesheet" type="text/css">
    <script src="codebase/dhtmlx.js"></script> 
    <style type="text/css">
    html, body {
        height: 100%;
        background-color: #333;
    }
    </style>
    <script type="text/javascript">
        function reportInfoToServer(infoObj, type) {
            const ERROR_SERVER_IP = 'http://10.10.20.57:7001';
            // 获取本机信息-登录信息、IP地址、uniqueCode
            let loginInfoStr = localStorage.getItem('isLoginSuccess');
            let userInfo = (loginInfoStr && JSON.parse(loginInfoStr)) || {};
            infoObj.userInfo = userInfo;
            infoObj.uniqueCode = typeof codeMain !== 'undefined' && codeMain.menubarsIns.uniqueCode;
            infoObj.userAgent = navigator.userAgent;
            infoObj.platform = navigator.platform;
            infoObj.date = Date.now();
            // 信息上报
            let infoStr = JSON.stringify(infoObj);
            infoStr = encodeURIComponent(infoStr);
            var img = new Image();
            img.onload = img.onerror = function() {
                img = null;
            };
            img.src = `${ERROR_SERVER_IP}/${type}?info=` + infoStr;
        }

        window.onerror = function(msg, url, line, col, error) {
            let err = {
                _msg: msg, 
                _url: url, 
                _line: line, 
                _col: col, 
                _error: error
            };
            // reportInfoToServer(err, 'postBug');
        };
    </script>
    <script type="text/javascript">
        var searchURL = window.location.search;
        searchURL = searchURL.substring(1, searchURL.length);
        var InnerVer = searchURL.split("&")[1].split("=")[1];
    </script>
</head>

<body class="monaco-shell vs-dark" aria-label="">
    <script type="text/javascript">
        if (localStorage.getItem("ideTheme") === "light") {
            document.body.style.backgroundColor = "#fff";
        }
    </script>
    <div class="menu-top-bar">
        <div class="menu-left">
            <div id ="code_panel" style="z-index: 100;display: none; position: relative; margin-left: 20px;"></div>
            <div class="webview-operation-panel" id="ask_operation_panel" style="z-index: 100;display: none; position: relative; width: calc(100% - 200px); min-width: 500px;">
                <div class="ask-operate-left"></div>
                <div class="ask-operate-right"></div>
                <div class="ask-operate-reload"></div>
                <div class="ask-operate-home"></div>
                <input type="text" class="ask-operate-url" style="width: calc(100% - 300px);"/>
            </div>
            <div class="webview-operation-panel" id="store_operation_panel" style="z-index: 100;display: none; position: relative; width: calc(100% - 200px); min-width: 500px;">
                <div class="ask-operate-left"></div>
                <div class="ask-operate-right"></div>
                <div class="ask-operate-reload"></div>
                <div class="ask-operate-home"></div>
                <input type="text" class="ask-operate-url" style="width: calc(100% - 300px);"/>
            </div>
            <div class="webview-operation-panel" id="help_operation_panel" style="z-index: 100;display: none; position: relative; width: calc(100% - 200px); min-width: 500px;">
                <div class="ask-operate-left"></div>
                <div class="ask-operate-right"></div>
                <div class="ask-operate-reload"></div>
                <div class="ask-operate-home"></div>
                <input type="text" class="ask-operate-url" style="width: calc(100% - 300px);"/>
            </div>
            <div class="webview-operation-panel" id="user_operation_panel" style="z-index: 100;display: none; position: relative; width: calc(100% - 200px); min-width: 500px;">
                <div class="ask-operate-left"></div>
                <div class="ask-operate-right"></div>
                <div class="ask-operate-reload"></div>
                <div class="ask-operate-home"></div>
                <input type="text" class="ask-operate-url" style="width: calc(100% - 300px);"/>
            </div>
            <div class="webview-operation-panel" id="makeradv_operation_panel" style="z-index: 100;display: none; position: relative; width: calc(100% - 200px); min-width: 500px;">
                <div class="ask-operate-left"></div>
                <div class="ask-operate-right"></div>
                <div class="ask-operate-reload"></div>
                <div class="ask-operate-home"></div>
                <input type="text" class="ask-operate-url" style="width: calc(100% - 300px);"/>
            </div>
            <div id="_dragBar" style="flex: 1; width: 100%; display: flex;">
                <div style="-webkit-app-region: drag; height: 100%; top: 0px; z-index: 9999999;flex: 1;"></div>
                <div id="menuAdvertising" style="display: none;"></div>
            </div>
        </div>
        <div class="menu-right">
            <div class="menu-expand" style="z-index:200;">
                <div id="avatarWrapper"></div>
            </div>
            <ul class="nav">
                <li id="ide_nav_close" style="float: right;" onclick='codeMain.menuclickHandler("workbench.action.closeWindow")'></li>
                <li id="ide_nav_max" style="float: right;" onclick='codeMain.menuclickHandler("restore")'></li>
                <li id="ide_nav_min" style="float: right;" onclick='codeMain.menuclickHandler("minimize")'></li>
            </ul>
        </div>
    </div>
    <div id="listMenu_con">
        <div id="codeMenuList" style="display: none;"></div>
        <div id="uicodeMenuList" style="display: none;"></div>
        <div id="layaaskMenuList" style="display: none;"></div>
    </div>
    <div class="reward-show-area" style="display: none;"></div>
    <div id="homePageIndex" class="laya-homepage"></div>
    <div id="loginPage" class="login-area"></div>
    <div id="shop" class="shop-wrapper"></div>
    <div id="layacloudQudao" class="shop-wrapper"></div>
    <div id="initializeLoading"  class="load-container load4" style="display: none;position: absolute;z-index: 399999999;left: 0;top: 0;width: 100%;height: 100%;">
        <div class="loader" style="top:30%">Loading...</div> 
    </div>
    <script src="js/handlerHtml.js"></script>
    <script src="js/newPro.js"></script>
    <script src='laya.js' loader='laya'></script>
    <script loader='laya' src="jslib/png/zlib.js"></script>
    <script loader='laya' src="jslib/png/png.js"></script>
    <script loader='laya' src="jslib/jpg/jpg.js"></script>
    <script loader='laya' src="js/xlsx.full.min.js"></script>
    <script id="layaUIView"></script>
    <script id="layaCodeView"></script>
    <script src='index.js' loader='laya'></script>
    <!-- <script src="js/asCompileModule.js"></script> -->
    <script src="js/laya.LayaAnimationTool.js"></script>
    <script src="js/qrcode.js"></script>
    <script src="js/changeLayameProId.js"></script>
    <script type="text/javascript" src="js/menu.js"></script>
    <script type="text/javascript" src="baselib/smalltalk.min.js"></script>
</body>
<!-- Startup via index.js -->
<!-- <script src="index.js"></script> -->

</html>
